export type RoleType = '' | '*' | 'admin' | 'user';
export interface UserState {
  realName?: string;
  account?: string;
  roleNameList?: string[];
  departments?: string[];
  type?: string;
  email?: string;
  carTeamName?: string[];
  avatar?: string;
  phone?: string;
  driver_id?: string;
  createTime?: string;
  userType: 'driver' | 'normal' | 'dispatch' | 'admin';
}

export interface MenuItem {
  title: string;
  name: string;
  parent: string;
  sort: number;
  showInMenu: number;
  level: number;
  menuType: number;
  icon?: string;
}
